package com.rms.mapper;

import com.rms.entity.Cuisine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 胡满意
 * @date 2019/10/31
 */
@Mapper
public interface CuisineMapper {
    List<Cuisine> selectAll();
    Cuisine selectCuisine(String cuisineName);
    int insertCuisine(String cuisineName);
    int updateCuisine(@Param("cuisineId") int cuisineId,@Param("cuisineName") String cuisineName);
    int deleteCuisine(int cuisineId);
}
